/// id : 1766020597579681800
/// qingbaoTypeName : "火灾"
/// photo : ["business/cc9482ce-1f68-4763-8481-06257b870c35.jpg"]
/// video : ""
/// status : "未处置"
/// position : "太原市杏花岭区胜利街37号城北便民综合市场南区西15号"
/// updateTime : "2024-3-8 16:38"

class IntellHistoryDto {
  IntellHistoryDto({
      num? id, 
      String? qingbaoTypeName, 
      List<String>? photo, 
      String? video, 
      String? status, 
      String? position, 
      String? updateTime,}){
    _id = id;
    _qingbaoTypeName = qingbaoTypeName;
    _photo = photo;
    _video = video;
    _status = status;
    _position = position;
    _updateTime = updateTime;
}

  IntellHistoryDto.fromJson(dynamic json) {
    _id = json['id'];
    _qingbaoTypeName = json['qingbaoTypeName'];
    _photo = json['photo'] != null ? json['photo'].cast<String>() : [];
    _video = json['video'];
    _status = json['status'];
    _position = json['position'];
    _updateTime = json['updateTime'];
  }
  num? _id;
  String? _qingbaoTypeName;
  List<String>? _photo;
  String? _video;
  String? _status;
  String? _position;
  String? _updateTime;
IntellHistoryDto copyWith({  num? id,
  String? qingbaoTypeName,
  List<String>? photo,
  String? video,
  String? status,
  String? position,
  String? updateTime,
}) => IntellHistoryDto(  id: id ?? _id,
  qingbaoTypeName: qingbaoTypeName ?? _qingbaoTypeName,
  photo: photo ?? _photo,
  video: video ?? _video,
  status: status ?? _status,
  position: position ?? _position,
  updateTime: updateTime ?? _updateTime,
);
  num? get id => _id;
  String? get qingbaoTypeName => _qingbaoTypeName;
  List<String>? get photo => _photo;
  String? get video => _video;
  String? get status => _status;
  String? get position => _position;
  String? get updateTime => _updateTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['qingbaoTypeName'] = _qingbaoTypeName;
    map['photo'] = _photo;
    map['video'] = _video;
    map['status'] = _status;
    map['position'] = _position;
    map['updateTime'] = _updateTime;
    return map;
  }

}